﻿<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>background的默认显示</title>
  <style type="text/css">
    div {
      width: 300px;
      height: 100px;
      border: 50px dashed rgba(0,0,0,0.8);
      background: rgba(0,25,25,0.8) url(border.jpg) no-repeat;
      padding: 30px;
      margin: 20px;
    }
    .no-repeat {
      background-repeat: no-repeat;
    }
    .repeat {
      background-repeat: repeat;
    }
  </style>
</head>
<body>
	<div class="no-repeat"></div>
  <div class="repeat"></div>
</body>
</html>